import React from 'react'
import NewsPublish from '../../../components/publish-manage/NewsPublish'
import usePublish from '../../../components/publish-manage/usePublish'

export default function Unpublished() {
  // 已发布
  const publishState = 2
  const { dataSource,setdataSource } = usePublish(publishState)
  return (
    <div>
      <NewsPublish dataSource={dataSource} setdataSource={setdataSource} publishState={publishState}></NewsPublish>
    </div>
  )
}
